export function isLoginIn(){
    return getToken() != null;
}

export function getToken(){
    const token = localStorage.getItem('token');
    return token;
}

